//app.js
App({
  onLaunch: function () {
    try {
      var res = wx.getSystemInfoSync()
      // console.log(res)
      this.globalData.windowWidth = res.windowWidth;
      this.globalData.windowHeight = res.windowHeight;
      console.log(this.globalData)
    } catch (e) {
      // Do something when catch error
    }
  },
  globalData: {
   
  },
  onShareAppMessage(res) {
    return {
      title: '白熊阅读',
      path: '/pages/index/index'
    }
  }
})